import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Bookshelf from './pages/Bookshelf';
import Reader from './pages/Reader';

function App() {
  return (
    <Router>
      <Routes>
        <Route path="/" element={<Bookshelf />} />
        <Route path="/reader/:id" element={<Reader />} />
      </Routes>
    </Router>
  );
}

export default App; 